<link rel="stylesheet" href="/dist/bootstrap-datepicker.min.css">
<div id="registerHotelDiv"
     style="width: 90%;min-height:100vh;margin: auto;border: 1px dotted dodgerblue;padding: 10px;">
    <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
        <li class="nav-item" role="presentation">
            <a class="nav-link active show" id="pill-hotelMain" data-toggle="pill" href="#pills-hotelMain"
               role="tab"
               aria-controls="pills-hotelMain" aria-selected="false">酒店基本信息</a>
        </li>
        <li class="nav-item" role="presentation">
            <a class="nav-link" id="pill-hotelDetail" data-toggle="pill" href="#pills-hotelDetail"
               role="tab"
               aria-controls="pills-hotelDetail" aria-selected="false">酒店简介</a>
        </li>
        <li class="nav-item" role="presentation">
            <a class="nav-link" id="pill-hotelRoom" data-toggle="pill" href="#pills-hotelRoom" role="tab"
               aria-controls="pills-hotelRoom" aria-selected="false">酒店房间</a>
        </li>
        <li class="nav-item" role="presentation">
            <a class="nav-link" id="pill-hotelPolicy" data-toggle="pill" href="#pills-hotelPolicy" role="tab"
               aria-controls="pills-hotelPolicy" aria-selected="false">酒店政策</a>
        </li>
        <li class="nav-item" role="presentation">
            <a class="nav-link" id="pill-hotelFacility" data-toggle="pill" href="#pills-hotelFacility" role="tab"
               aria-controls="pills-hotelFacility" aria-selected="false">设施与服务
            </a>
        </li>
    </ul>
    <div class="tab-content" id="pills-tabContent">
        <div class="tab-pane fade show active" id="pills-hotelMain" role="tabpanel"
             aria-labelledby="pill-hotelMain">
            <div th:replace="reception/hotel/pages/registerHotel/hotelMain"></div>
        </div>
        <div class="tab-pane fade" id="pills-hotelDetail" role="tabpanel"
             aria-labelledby="pill-hotelDetail">
            <div th:replace="reception/hotel/pages/registerHotel/hotelDetail"></div>
        </div>
        <div class="tab-pane fade" id="pills-hotelRoom" role="tabpanel" aria-labelledby="pill-hotelRoom">
            <div th:replace="reception/hotel/pages/registerHotel/hotelRoom"></div>
        </div>
        <div class="tab-pane fade" id="pills-hotelPolicy" role="tabpanel" aria-labelledby="pill-hotelPolicy">
            <div th:replace="reception/hotel/pages/registerHotel/hotelPolicy"></div>
        </div>
        <div class="tab-pane fade" id="pills-hotelFacility" role="tabpanel" aria-labelledby="pill-hotelFacility">
            <div th:replace="reception/hotel/pages/registerHotel/hotelFacility"></div>
        </div>
    </div>
    <a onclick="location.href='/hotel/hotels'" style="position: fixed;bottom: 10px;left: 30px;">
        <i class="fa fa-undo" style="font-size: 40px;"></i>
        返回主页
    </a>
</div>